Take desktop panels into account when sizing frames so they fit on the screen.
authorJan D. <jan.h.d@swipnet.se>
Fri, 15 Jan 2010 17:05:04 +0000 (18:05 +0100)
committerJan D. <jan.h.d@swipnet.se>
Fri, 15 Jan 2010 17:05:04 +0000 (18:05 +0100)
xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions.
(Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea
to find out usable size of the desktop.  Don't make frames larger than
this. Bug #3643.


Trivial merge